package com.wuyan.web.base.entity;

import javax.persistence.*;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Builder;

/**
 * 角色与功能关联
 * 
 * @author wuyan
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PubRoleFunction {

    /**
     * 主键 int(11) unsigned
     */
    private Integer id;

    /**
     * 角色ID int(11) unsigned
     */
    private Integer roleId;

    /**
     * 功能ID int(11) unsigned
     */
    private Integer functionId;

    /**
     * 创建时间 timestamp
     */
    private LocalDateTime createTime;

}
